﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace DBMS.Models.DataInterfaces
{
    public interface ITableRepository
    {
        Table GetTable(int databaseId, int tableId);

        void Create(Database database, Table table);

        void Update(Database database, Table table);

        void Delete(int databaseId, int tableId);

        IList<Table> GetAllTablesForDatabase(int databaseId);
    }
}
